/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.anism.API;

import java.util.Collection;
import javax.ejb.Local;
import org.anism.entity.Employee;
import org.anism.entity.HolidayRequest;

/**
 *
 * @author user
 */
@Local
public interface HolidayValidationLocal {

    Employee authenticate(final String employeeId, final String password);

    Collection<HolidayRequest> getAllHolidayRequests(String employeeId);

    public HolidayRequest getHolidayRequest(int requestCode);

    boolean validateRequest(HolidayRequest request);
}
